package com.oceanread.cn.service;

import com.oceanread.cn.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserService {
     User login(String username);
     User insert(String username,String password);
     List<User> getall();

     List<User> getTablelist(int page, int size);
     Integer getnum();
     Integer getnumquery(String key, String value);
     Integer update(User user);
     Integer delete(int id);

}
